/*
 * Copyright (c) 2005, 2014 vacoor
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 */
package org.vacoor.nothing.misc.express.usps.api.data;

import javax.xml.bind.annotation.*;

/**
 * 邮编
 *
 * @author vacoor
 */
@XmlRootElement(name = "ZipCode")
@XmlAccessorType(XmlAccessType.FIELD)
public class UspsZipCode {
    @XmlAttribute(name = "ID")
    private String id;
    @XmlElement(name = "Zip5")
    private String zip5;        // ZIP Code Lookup Number
    // response info
    @XmlElement(name = "City")
    private String city;
    @XmlElement(name = "State")
    private String state;

    @XmlElement(name = "Error")
    private UspsError uspsError;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getZip5() {
        return zip5;
    }

    public void setZip5(String zip5) {
        this.zip5 = zip5;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public UspsError getUspsError() {
        return uspsError;
    }

    public void setUspsError(UspsError uspsError) {
        this.uspsError = uspsError;
    }
}
